{% extends 'bootstrap/base.html' %}
​
{% block title %}水果中心{% endblock %}
​
{% block navbar %}
    <nav class="navbar navbar-expand-lg navbar-inverse container" style="border-radius: 0px;">
        <div class="container  col-lg-9 col-lg-offset-1">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">首页</a>
            </div>
            <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="http://127.0.0.1:5000/buy">购买</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">个人中心</a></li>
                    <li><a href="#">退出</a></li>
                </ul>
            </div>
        </div>
    </nav>
{% endblock %}
​
{% block content %}
    <div class="col-lg-8 col-lg-offset-2">
        <form action="http://127.0.0.1:5000/formInfor" method="post">
            <div class="display-3">您需支付的金额为：{{ amount }}</div>
            <div class="display-3">请填写订单资料</div>
            <div>
                收货人：<input type="text" name="consignee" placeholder="请填写收货人姓名"><br>
                收货地址：<input type="text" name="address" placeholder="请填写收货地址"><br>
                联系电话：<input type="text" name="phone" placeholder="请填写联系电话">
            </div>
            <button type="submit">提交</button>
        </form>
    </div>
{% endblock %}